﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Library.DataAccess.Database;
using Library.DbObjects.DbHelper;

namespace NameplateReport
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            DatabaseManager.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Tri Pham\Other\NAMEPLATE\NAMEPLATE.mdb"; ;
            DatabaseManager.InitEnviroment<OleDbQuery>();
            Application.EnableVisualStyles();
            Application.VisualStyleState = System.Windows.Forms.VisualStyles.VisualStyleState.ClientAndNonClientAreasEnabled;
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new LoginForm());
        }
    }
}
